﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Result.aspx.cs" Inherits="com.orange.examination.WebForm8" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>在线考试结果</title>
          <meta name="viewport" content="width=device-width" />
    <link rel="stylesheet" href="css/Result.css" />
    <script type="text/javascript">
    function keydown2()
    {
      if(event.keyCode==8)//屏蔽退格键
      {
        event.keyCode=0;
        event.returnValue=false;
      }
      if(event.keyCode==13)//屏蔽回车键
      {
        event.keyCode=0;
        event.returnValue=false;
      }
    }
    
    function showtime()
    {
      var now=new Date();
      years=now.getFullYear();
      month=now.getMonth()+1;
      dates=now.getDate();
      hours=now.getHours();
      Minutes=now.getMinutes();
      Seconds=now.getSeconds();
      if(hours<10)
      hours="0"+hours;
      if(Minutes<10)
      Minutes="0"+Minutes;
      if(Seconds<10)
      Seconds="0"+Seconds;
      var titletext=years+"年"+month+"月"+dates+"日"+hours+":"+Minutes+":"+Seconds;
      setTimeout("showtime()",1000);
      document.getElementById("lbldate").innerText=titletext;
    }
    </script>
    
    <script type="text/javascript">
    function click()
    {
      event.returnValue=false;
      alert("当前设置不允许使用右键！");
    }
    document.oncontextmenu=click;
    </script>


</head>
<body onkeydown="keydown2()" onload="showtime()">
    <form id="form1" runat="server">
        <div class="all">

          <div class="top">

             <span>考试成绩</span>

             <asp:Label ID="lbldate" runat="server"></asp:Label>

          </div> 
        
        <div class="middle">

             <span>考试科目</span>
                        
             <span >考生学号</span>
                        
             <span >考生姓名</span>
                          
             <span >考试成绩</span>

         </div> 
        
        <div class="bottom">

             <asp:Label ID="lblkm" runat="server" class="lable1" Text="Label"></asp:Label>
                     
             <asp:Label ID="lblnum" runat="server" class="lable1" Text="Label"></asp:Label>

             <asp:Label ID="lblname" runat="server" class="lable1" Text="Label"></asp:Label>
                       
            <asp:Label ID="lblResult" runat="server" class="lable1" ></asp:Label>

        </div>
  </div>
    </form>
</body>
</html>

